package com.lvmama.rhino.mapperComment;

import com.lvmama.rhino.pojo.comment.entity.CommentTag;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * Created by hejing on 2017/9/12.
 */
public interface TagListMapper {
    /**
     * 查询所有展示权限
     * @return
     */
    List<CommentTag> findAllTagList();

    int deleteById(String tagId);

    int addTag(@Param("tagName") String tagName, @Param("userName") String userName);

    int modifyTag(@Param("tagName") String tagName, @Param("tagId") String tagId);
}
